package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 1、请求http://127.0.0.1:8080/discovery?serviceName=example
 * 2、向Nacos Service注册：http://192.168.3.57:8848/nacos/v1/ns/instance?serviceName=example&ip=192.168.3.17&port=8080
 */
@SpringBootApplication
public class SpringBootNacosDiscoveryApplication {
	public static void main(String[] args) {
		SpringApplication.run(SpringBootNacosDiscoveryApplication.class, args);
	}

}
